package com.gegao.practise.lanuchcount;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.FrameLayout;

import com.gegao.practise.R;

public class TestTryTip extends Activity {
    Button mBt;
    FrameLayout mFrameLayout;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        mFrameLayout = (FrameLayout) getWindow()
                .getDecorView().findViewById(android.R.id.content);
        
        setContentView(R.layout.one_button);
        mBt = (Button)findViewById(R.id.bt);
        mBt.setOnClickListener(new OnClickListener() {
            
            @Override
            public void onClick(View v) {
//                OrangeGestureHelp.getInstantce(TestTryTip.this, mFrameLayout).onPageFinished(true);
                OrangeGestureHelp.getInstantce(TestTryTip.this, mFrameLayout).showTryTipMulti(mFrameLayout);
//                OrangeGestureHelp2 help = new OrangeGestureHelp2(TestTryTip.this, mFrameLayout);
//                help.showTryTipMulti(mFrameLayout);
            }
        });
    }

}
